/**
 * 
 */
package com.uit.project.bustrip.entity;

/**
 * @author 
 *
 */
public class User extends BaseEntity {
	public Integer id;
	public String code;
	public String username;
	public String account;
	public String password;
	public String numberphone;
	public String address;
	public String email;
	public String image;
	public Integer company;
	public Integer userpower;
	public Integer status;
	
	public String createTableString(){
		return "CREATE TABLE IF NOT EXISTS User("
				+ "id integer primary key autoincrement,"
				+ "code text,"
				+ "username text,"
				+ "account text,"
				+ "numberphone text," 
				+ "password text," 
				+ "email text,"
				+ "address text,"
				+ "image text,"
				+ "company interger," 
				+ "userpower interger," 
				+ "status interger)";
	}
}
